package com.parent.feign.demo;

import org.springframework.cloud.openfeign.FeignClient;

/**
 * 接口：name指的的是服务的名称，path指的是服务的前缀，若服务包含前缀必须指明，否则404
 * @author yan
 * @date 2023/4/13 0013 15:25
 */
@FeignClient(name = "terminal-device", path = "/terminal-device", fallbackFactory = DeviceFeignClientFallbackFactory.class)
public interface DeviceFeignClient {

//    @RequestMapping(value = "/v2/device/deviceInfo", method = RequestMethod.POST,consumes = "application/json")
//    SerializableResult<DeviceInfoOutVo> deviceInfo(@RequestBody DeviceOutDto deviceOutDto) throws Exception;
}
